Documentation for class button_object

Inherits from 	control 

Properties declared in button_object 
	font 
	is_bordered 
	is_transparent 
	sound 
	title 

Class Methods declared in button_object 
	new 

Methods declared in button_object 
	any 
		font 
		is_bordered 
		is_transparent 
		set_font(font) 
		set_is_bordered(boolean) 
		set_is_transparent(boolean) 
		set_sound(sound) 
		set_title(string) 
		sound 
		title 
	get 
		font 
		is_bordered 
		is_transparent 
		sound 
		title 
	set 
		set_font(font) 
		set_is_bordered(boolean) 
		set_is_transparent(boolean) 
		set_sound(sound) 
		set_title(string) 

Class 
#begin_class
button_object 
The class button_object is a subclass of the class control. 
The class button_object is a so-called abstract class. 
It implements the methods that is shared by button and pulldown_list. 
Note: You cannot create instances of an abstract class.
#end_class

Properties 

#begin_property
font 
Stores the font object that specifies the font and fontsize of the title in the button object.
#end_property

#begin_property
is_bordered 
Stores a boolean value. If it is true the button object is bordered.
#end_property

#begin_property
is_transparent 
Stores a boolean value. If it is true the button object will be invisible.
The default value is false.
#end_property

#begin_property
sound 
Stores the sound that is played by the button when it is clicked. 
The default value is nil.
#end_property

#begin_property
title 
Stores string that is used by the button as the title.
The default value is "Button".
#end_property

Methods 

#begin_method
font 
Returns the font property of the button object.
#end_method

#begin_method
is_bordered 
Returns the is_bordered property of the button object.
#end_method

#begin_method
is_transparent 
Returns the is_transparent property of the button object.
#end_method

#begin_method
set_font(font) 
Sets the font property to font.
Returns self.
#end_method

#begin_method
set_is_bordered(boolean) 
Sets the is_bordered property to boolean.
Returns self.
#end_method

#begin_method
set_is_transparent(boolean) 
Sets the is_transparent property to boolean.
Returns self.
#end_method

#begin_method
set_sound(sound) 
Sets the sound property to sound.
Returns self.
#end_method

#begin_method
set_title(string) 
Sets the title property to string.
Returns self.
#end_method

#begin_method
sound 
Returns the sound property of the button object.
#end_method

#begin_method
title 
Returns the title property of the button object.
#end_method

Class Methods 

#begin_class_method
new 
You cannot create instances of the class button_object since it is an abstract class.
Ex:
{button_object}:new
raises an exception
Exception:
The message new was sent to the class button_object but button_object is an abstract class which you can't make instances of
#end_class_method